import request from '@/utils/request'

// 查询审核信息列表
export function listStuMultiLevelReview(query) {
  return request({
    url: '/routine/stuMultiLevelReview/list',
    method: 'get',
    params: query
  })
}

// 查询审核信息详细
export function getStuMultiLevelReview(id) {
  return request({
    url: '/routine/stuMultiLevelReview/' + id,
    method: 'get'
  })
}

// 查询审核信息详细
export function getStuMultiLevelReviewByReviewerIdentity(reviewerIdentity, stuNo) {
  return request({
    url: '/routine/stuMultiLevelReview/getInfoByReviewerIdentity',
    method: 'get',
    params: {
      reviewerIdentity: reviewerIdentity,
      stuNo: stuNo
    }
  })
}

// 新增审核信息
export function addStuMultiLevelReview(data) {
  return request({
    url: '/routine/stuMultiLevelReview/add',
    method: 'post',
    data: data
  })
}

// 修改审核信息
export function updateStuMultiLevelReview(data) {
  return request({
    url: '/routine/stuMultiLevelReview/update',
    method: 'post',
    data: data
  })
}

// 删除审核信息
export function delStuMultiLevelReview(id) {
  return request({
    url: '/routine/stuMultiLevelReview/' + id,
    method: 'post'
  })
}
